package ar.camera.glsurfaceview.extend;

import android.content.Context;
import ar.camera.glsurfaceview.base.BaseGLSurfaceView;
import ar.camera.pojo.GLPoint;
import ar.camera.renderer.extend.MiniMapRenderer;

public class MiniMapSurfaceView extends BaseGLSurfaceView {

	public MiniMapSurfaceView(Context context) {
		super(context);

		this.mRenderer = new MiniMapRenderer(context, new GLPoint(0, 0, 0),
				new GLPoint(0, 0, -1));
		setRenderer(mRenderer);
	}

	public void updateCompassVertices(float azimut, GLPoint eye, GLPoint cam) {
		mRenderer.updateVertices(azimut, eye, cam);
	}

}
